import { useStore } from "@/store";
export function usePermissionHoos(pageName: string, permission: string) {
  const store = useStore();
  const permissionList = store.state.login.permission;
  const permissioStr = `system:${pageName}:${permission}`;
  return permissionList.includes(permissioStr);
}
